package com.yuexi.domain.exception;


import com.zenx.exception.IException;

public enum ExceptionEnum implements IException {

    CODE_NOT_EXIST_EXCEPTION(500, "字典不存在"),
    UNSUPPORTED_PAY_BY(500, "不支持的支付方式"),
    ORDER_CANCELED(500, "订单已被系统取消"),
    ;

    private int code;
    private String msg;


    ExceptionEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
